const koa = require('koa')
const fs = require('fs')
const app = new koa()

const main = ctx => {
    ctx.response.type = 'xml'
    ctx.response.body = fs.createReadStream('./html/index.html')
}
app.use(main)


app.listen(3000)